<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>教职工--校园安全保卫管理系统</title>
    <link href="__ROOT__/css/bootstrap.min.css" rel="stylesheet">
    <link href="__ROOT__/css/style.css" rel="stylesheet" type="text/css"/>
    <script language="JavaScript" src="__ROOT__/js/jquery.js"></script>
    <script src="__ROOT__/js/date/WdatePicker.js"></script>
    <script type="text/javascript">
        $(function () {
            //导航切换
            $(".menuson li").click(function () {
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });

            $('.title').click(function () {
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if ($ul.is(':visible')) {
                    $(this).next('ul').slideUp();
                } else {
                    $(this).next('ul').slideDown();
                }
            });
        })
    </script>

    <!-- 动火证申请页面 -->
</head>

<body style="background:#">
<div class="lefttop">
    <span></span>北京化工大学校园安全保卫管理系统--教职工

    <div style="float:right;margin-right: 40px;" class="user">欢迎,
        <a href="{:U('Home/System/edit',array('id'=>$session['USER']['staff_id']))}">{$session.USER.nickname|default=$session.USER.staff_id}</a>&nbsp;&nbsp;<a
            href="{:U('Admin/User/logout')}">退出</a></div>

</div>


<div class="main clear">
    <div class="leftmain" style="width:25%">
        <dl class="leftmenu">
            <foreach name="menus" item="mval" key="mkey">
                <dd>
                    <div class="title">
                        <span><img src="<?php echo ADMIN_IMG_URL ;?>{$mval['img']}"
                                   style="margin-left:10px"/></span></span>{$mval.name}
                    </div>
                    <ul class="menuson"
                    <if condition="$block eq $mval['action'] ">style="display: block"
                        <else/>
                        style="display: none"
                    </if>
                    >
                    <foreach name="mval.item" item="tval" key="tkey">
                        <li
                        <if condition="$type eq $tval['action'] "> class="active"</if>
                        ><cite></cite><a href="{$tval['url']}">{$tval.name}</a><i></i></li>
                    </foreach>
                    </ul>
                </dd>
            </foreach>
        </dl>
    </div>

    <div class="rightmain">